<!DOCTYPE html>
<html>
<body>
  <!-- Test for https://code.google.com/p/chromium/issues/detail?id=282925.
       Passes if it displays two green rects and doesn't crash in debug mode -->
  <svg width="200" height="200" filter="url(#f2)" xmlns="http://www.w3.org/2000/svg">
    <filter height="150%" id="f1">
      <feOffset dy="30"/>
    </filter>
    <rect id="r1" width="100" height="100" fill="green"/>
  </svg>
  <svg  width="200" height="200" filter="url(#f1)" xmlns="http://www.w3.org/2000/svg">
    <filter width="150%" id="f2">
      <feOffset dx="30"/>
    </filter>
    <rect id="r2" width="100" height="100" fill="green"/>
  </svg>
</body>
</html>
